<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center contactCustomerService_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub contactCustomerService_fd0_0'>
					<view class='flex flex-wrap align-center contactCustomerService_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  contactCustomerService_fd0_0_c0_c0'>&#xe794;</text>
					</view>
					<text class='contactCustomerService_fd0_0_c1'>联系客服</text>
					<view class='flex flex-wrap align-center contactCustomerService_fd0_0_c0'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---flex布局flex布局开始-->
			<view class="flex flex-direction flex-wrap align-center benben-flex-layout contactCustomerService_flex_1">
				<image class='contactCustomerService_fd1_0' mode="aspectFit" :src='STATIC_URL+"141.png"'></image>
				<text class='contactCustomerService_fd1_1'>{{customerData.customer_tel}}</text>
				<view class='flex flex-wrap align-center'>
					<text class='contactCustomerService_fd1_2_c0'>工作时间：</text>
					<text class='contactCustomerService_fd1_2_c0'>{{customerData.customer_time}}</text>
				</view>
				<button class='contactCustomerService_fd1_3'
					@tap.stop="callMobile(customerData.customer_tel)">拨打电话</button>
			</view>

			<!---flex布局flex布局结束-->


		</view>
	</view>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'

	export default {
		components: {},


		data() {
			return {
				"customerData": {
					"customer_tel": "",
					"customer_time": ""
				}
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},
			/**
			 * @returns 
			 * Android       安卓
			 * IOS       苹果
			 * Web       H5 或 pc
			 * Wechat       微信小程序
			 * Alipay       支付宝小程序
			 * Baidu       百度小程序
			 * ByteBounce       抖音小程序
			 * 360       360小程序
			 * FastApp       快应用
			 */
			appSystemIdentification() {
				return this.$store.state.appSystemIdentification
			}
		},
		watch: {},
		onLoad(options) {
			this.getCustomerFunc()
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//获取客服信息
			async getCustomerFunc() {
				//请求方法
				//数据验证

				let datacustomerData = await this.$api.get(global.apiUrls.post6489213137b3a, {

				});

				if (datacustomerData.data.code != 1) {
					this.$message.info(datacustomerData.data.msg);
					return
				}
				let infocustomerData = datacustomerData.data;
				this.customerData = infocustomerData.data

			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #fff;
		background-size: 100% auto;
	}

	.contactCustomerService_flex_0 {
		border-bottom: 1px solid #eee;
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.contactCustomerService_fd0_0_c1 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333;
	}

	.contactCustomerService_fd0_0_c0_c0 {
		font-size: 32rpx;
		color: #333;
	}

	.contactCustomerService_fd0_0_c0 {
		width: 120rpx;
		height: 88rpx;
	}

	.contactCustomerService_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		height: 88rpx;
	}

	.contactCustomerService_flex_1 {
		padding: 100rpx 0rpx 0rpx 0rpx;
	}

	.contactCustomerService_fd1_3 {
		background: rgb(227, 29, 26);
		border-radius: 44rpx 44rpx 44rpx 44rpx;
		font-size: 32rpx;
		color: #fff;
		width: 640rpx;
		height: 88rpx;
		line-height: 88rpx;
		font-weight: 400;
		margin: 56rpx 0rpx 0rpx 0rpx;
	}

	.contactCustomerService_fd1_2_c0 {
		color: #999999;
		font-size: 26rpx;
		font-weight: 400;
		line-height: 37rpx;
	}

	.contactCustomerService_fd1_1 {
		color: #333333;
		font-size: 48rpx;
		font-weight: 700;
		margin: 40rpx 0rpx 16rpx 0rpx;
		line-height: 67rpx;
	}

	.contactCustomerService_fd1_0 {
		width: 280rpx;
		height: 280rpx;
	}
</style>